package cn.sc.summer.protocol.form.route;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 类名：绑定api接口至路由请求表单
 *
 * @author a-xin
 * @date 2024/5/23 17:11
 */
@Data
@Accessors(chain = true)
@ApiModel("绑定api接口至路由请求表单")
public class BindingRouteApiForm implements Serializable {

    private static final long serialVersionUID = -4500731270917210735L;


    /**
     * 路由ID
     */
    @ApiModelProperty(value = "路由ID")
    @NotBlank(message = "路由ID不能为空！")
    private String routeId;

    /**
     * api接口ID
     */
    @ApiModelProperty(value = "api接口ID")
    @NotBlank(message = "api接口ID不能为空！")
    private String apiId;

}
